#include "world/NextVisitor.h"
#include "cell/Cell.h"

NextVisitor::NextVisitor(Neighbor& src)
    :src(src)
{}

void NextVisitor::visit(Cell& cell)
{
    cell.evolve(src);
}
